package com.design.facade.machine;

import com.design.facade.Machine;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Popper extends Machine {

    @Override
    public void on() {
        loginfo("打开爆米花机器");
        makePopcorn();

    }

    @Override
    public void makePopcorn() {
        loginfo("制作爆米花");
    }

    @Override
    public void off() {
        loginfo("关闭爆米花机器");
    }
}
